package com.cskaoyan.javase.basic._4extend;

/**
 * 练习
 * @since 10:03
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo5 {
    public static void main(String[] args) {
        // 通过语法,但是不规范
        byte b1 = 1, b2 = 2, b;
        // Incompatible types. Found: 'int', required: 'byte'
        b = (byte) (b1 + b2);
        char c = (char) (b1 + b2);
    }
}
